package com.ys.zero.bean;

import java.util.Date;

public class Comment implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	private Integer cid ;//id
	private Integer cuaid ;//评论的文章uaid
	private Integer coaccount;//评论者账号
	private Date time;//评论时间
	private String comment;//评论内容
	private Integer ctype;//评论的类型
	private Integer cpraise;//评论的类型
	private String link;//文章链接
	public Integer getCid() {
		return cid;
	}
	public void setCid(Integer cid) {
		this.cid = cid;
	}
	public Integer getCuaid() {
		return cuaid;
	}
	public void setCuaid(Integer cuaid) {
		this.cuaid = cuaid;
	}
	public Integer getCoaccount() {
		return coaccount;
	}
	public void setCoaccount(Integer coaccount) {
		this.coaccount = coaccount;
	}
	public Date getTime() {
		return time;
	}
	public void setTime(Date time) {
		this.time = time;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String comment) {
		this.comment = comment;
	}
	public Integer getCtype() {
		return ctype;
	}
	public void setCtype(Integer ctype) {
		this.ctype = ctype;
	}
	public Integer getCpraise() {
		return cpraise;
	}
	public void setCpraise(Integer cpraise) {
		this.cpraise = cpraise;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	@Override
	public String toString() {
		return "Comment [cid=" + cid + ", cuaid=" + cuaid + ", coaccount=" + coaccount + ", time=" + time + ", comment="
				+ comment + ", ctype=" + ctype + ", cpraise=" + cpraise + ", link=" + link + "]";
	}
	
}